package metalink.admin;
import java.util.ArrayList;
import model.admin.AdminPlacementMo;
import vo.Placementvo;
import com.opensymphony.xwork2.ActionSupport;
import vo.Placementvo;

public class CompanyVisit extends ActionSupport{
	public ArrayList<Placementvo> company_list=new ArrayList<Placementvo>();
	int batch_id;
	

	public ArrayList<Placementvo> getCompany_list() {
		return company_list;
	}

	public void setCompany_list(ArrayList<Placementvo> company_list) {
		this.company_list = company_list;
	}

	public int getBatch_id() {
		return batch_id;
	}

	public void setBatch_id(int batch_id) {
		this.batch_id = batch_id;
	}

	public String execute(){
		AdminPlacementMo mo= new AdminPlacementMo();
		company_list=mo.getCompanydetails(batch_id);
		return SUCCESS;
	}

}
